Skip to content

feat: add PEP 561 py.typed marker and sync trove classifiers#10

Merged
gregsvo merged 1 commit into
ActiveCampaign:mainfrom
purificant:feature/py-typed-marker
Jun 24, 2026
Merged

feat: add PEP 561 py.typed marker and sync trove classifiers#10
gregsvo merged 1 commit into
ActiveCampaign:mainfrom
purificant:feature/py-typed-marker

Conversation

@purificant

Copy link
Copy Markdown
Contributor

Add the py.typed marker so the package's existing type annotations can be used by type checkers in downstream projects. Include the "Typing :: Typed" classifier and Python 3.13/3.14 classifiers to match CI.

Per PEP 561, a type checker uses a package's inline annotations only if the package opts in with this marker: maintainers "MUST add a marker file named py.typed", and bundled types "SHOULD be used" only for packages that have done so. This code was already annotated but never shipped the marker, so conformant checkers ignore those types. Adding the empty file fixes that, with no runtime or public API change.

@gregsvo gregsvo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@gregsvo gregsvo merged commit 3109770 into ActiveCampaign:main Jun 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants